var express =require('express'); 
var router =express.Router();

var {add,cartsBU,upNum,del,getCount,selectdel}=require('../controls/carts')
router.post('/add',add);
router.post('/cartsBU',cartsBU);
router.post('/upNum',upNum); //更新数量
router.post('/del',del);
router.post('/getCount',getCount);
router.post('/selectdel',selectdel);
module.exports=router;